cmake_minimum_required(VERSION 3.5.1)

project(AclResnetQuick)

add_compile_options(-std=c++11)

set(CMAKE_CXX_FLAGS_DEBUG "-fPIC -O0 -g -Wall")
set(CMAKE_CXX_FLAGS_RELEASE "-fPIC -O2 -Wall")


include_directories(
        $ENV{INSTALL_DIR}/runtime/include/
        ./src
)

link_directories(
        $ENV{INSTALL_DIR}/lib64
)

add_executable(main
        ./src/sampleResnetQuickStart.cpp)

target_link_libraries(main ascendcl stdc++ opencv_core opencv_imgproc opencv_imgcodecs dl rt)
